package com.boot.down.exception;

/**
 * @author dell
 */
public class SecKillException extends RuntimeException {

	private static final long serialVersionUID = 1230670338807792042L;

	private Integer code;

	private String msg;

	public SecKillException(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public SecKillException setCode(Integer code) {
		this.code = code;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public SecKillException setMsg(String msg) {
		this.msg = msg;
		return this;
	}
}
